﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Robotics.Race
{
    public class GlobalSettings
    {
        private static GlobalSettings instance = new GlobalSettings();
        public static GlobalSettings Instance { get { return instance; } }

        int standingTurnSpeed = 25;
        public int StandingTurnSpeed { get { return standingTurnSpeed; } set { standingTurnSpeed = value; } }

        double turnFactor = 0.6;
        public double TurnFactor { get { return turnFactor; } set { turnFactor = value; } }

        double accelerationFactor = 8.0;
        public double AccelerationRatio { get { return accelerationFactor; } set { accelerationFactor = value; } }

        double frictionRatio = 2.0;
        [ReadOnly(false)] 
        public double FrictionRatio { get { return frictionRatio; } set { frictionRatio = value; } }

        //int updateIntervalMs = 50;
        //public int UpdateIntervalMs { get { return updateIntervalMs; } set { updateIntervalMs = value; } }

        //int senseIntervalMs = 50;
        //public int SenseIntervalMs { get { return senseIntervalMs; } set { senseIntervalMs = value; } }

        
    }
}
